const Mock =require('mockjs')

module.exports=Mock.mock({
    "list|20-50":[{
        "url":"@image(100x150,@color)",
        "title":"@ctitle",
        "desc":"@cword(10,15)",
        "price|1-999":1,
        "id":'@id'
    }]
})


// Mock.mock('/api/list',()=>{
//     return{
//         code:200,
//         data:data.list
//     }
// })